package com.wisdytech.linkdcs.equipLifeCycle.malfunction.service;

import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.equipLifeCycle.malfunction.dto.MalfunctionSearchDto;
import com.wisdytech.linkdcs.equipLifeCycle.malfunction.model.MApplyRecord;
import com.wisdytech.linkdcs.equipLifeCycle.malfunction.vo.MalfunctionApplyVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenbin
 * @since 2018-07-25
 */
public interface IMApplyRecordService{

	boolean addApplyRecord(MApplyRecord applyRecord, String username);

	PageInfo<MalfunctionApplyVO> listApplyRecords(Filter filter, MalfunctionSearchDto dto);

	void applyCommitOver(String pkId);

	void applyReturnFactory(String pkId);

}
